#define _CRT_SECURE_NO_WARNINGS 1

#include"Stack.h"

int main()
{
	ST st;
	ST* a = &st;
	int j = 0;
	StackInit(&st);
	StackPush(&st, 1);
	StackPush(&st, 2);
	StackPush(&st, 3);
	StackPush(&st, 4);
	StackPush(&st, 5);
	StackPush(&st, 6);
	j = StackEmpty(&st);
	printf("%d\n", j);
	j = StackTop(&st);
	printf("%d\n", j);
	j = StackSize(&st);
	printf("%d\n", j);
	StackPop(&st);
	j = StackSize(&st);
	printf("%d\n", j);
	StackPop(&st);
	j = StackSize(&st);
	printf("%d\n", j);
	StackPop(&st);
	j = StackSize(&st);
	printf("%d\n", j);
	StackPop(&st);
	j = StackSize(&st);
	printf("%d\n", j);
	StackPop(&st);
	j = StackSize(&st);
	printf("%d\n", j);
	StackDestory(&st);
	return 0;
}

